package com.bocai.grainshop.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bocai.common.utils.PageUtils;
import com.bocai.grainshop.product.entity.AttrGroupEntity;
import com.bocai.grainshop.product.vo.AttrGroupWithAttrsVo;
import com.bocai.grainshop.product.vo.ItemVo;
import com.bocai.grainshop.product.vo.SpuItemAttrGroupVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author SunJinBo
 * @email 2374461077@qq.com
 * @date 2022-03-01 17:02:35
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params,Long groupId);

    List<AttrGroupWithAttrsVo> getAttrGroupWithAttrByCatelogId(Long catelogId);

    List<SpuItemAttrGroupVo> getAttrGroupwithAttrBySpuId(Long spuId, Long catalogId);
}

